package com.myproject.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;

@RestController
public class CheatController {

    private static final Logger logger = LoggerFactory.getLogger(CheatController.class);


    @PostMapping("/upapi/cheatlist/multiQuery")
    public String method(@RequestBody String string){

        logger.info("controller start");
        System.out.println(string);
        logger.info("controller start");

        return "hello";
    }

}
